package com.yic.module.base.controller.admin.factory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yic.framework.excel.core.annotations.DictFormat;
import com.yic.framework.excel.core.convert.DictConvert;


/**
 * 工厂 Excel VO
 *
 * @author 系统管理员
 */
@Data
public class FactoryExcelVO {

    @ExcelProperty("主键")
    private Long id;

    @ExcelProperty("工厂名称")
    private String name;

    @ExcelProperty("工厂代码")
    private String code;

    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

    @ExcelProperty("显示顺序")
    private Integer sort;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty("创建人")
    private String creator;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
